#!/usr/bin/env python
# encoding:utf-8
# cython: language_level=3
import base64


def encryption(text):
    result = base64.b64encode(text)
    return {"status": 0, "result": result}


def decrypt(text):
    result = base64.b64decode(text)
    return {"status": 0, "result": result}
